<template>
  <div id="app" class="app">
    <header class="app-header">
      <h1>太阳系八大行星运行轨迹图</h1>
    </header>
    
    <main class="app-main">
      <SolarSystem />
    </main>
  </div>
</template>

<script setup lang="ts">
import SolarSystem from './components/SolarSystem.vue';
</script>

<style scoped>
.app {
  min-height: 100vh;
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
  color: white;
  font-family: 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
}

.app-header {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 100;
}

.app-header h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-header p {
  font-size: 1rem;
  opacity: 0.8;
  margin: 0;
}

.app-main {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .app-header {
    padding: 0.5rem;
  }
  
  .app-header h1 {
    font-size: 1.5rem;
  }
  
  .app-header p {
    font-size: 0.9rem;
  }
}
</style>